package org.nbict.iot.protocol.task;

import java.io.Serializable;

/**
 * Created by songseven on 18/6/25.
 */
public class DiagnosisEvent implements Serializable {
    public double lat;
    public double lng;
    public long time;
    public String diagnosisCode;

    public DiagnosisEvent(double lat, double lng, long time, String
            diagnosisCode) {
        super();
        this.lat = lat;
        this.lng = lng;
        this.time = time;
        this.diagnosisCode = diagnosisCode;
    }

    public double getLat() {
        return lat;
    }

    public DiagnosisEvent setLat(double lat) {
        this.lat = lat;
        return this;
    }

    public double getLng() {
        return lng;
    }

    public DiagnosisEvent setLng(double lng) {
        this.lng = lng;
        return this;
    }

    public long getTime() {
        return time;
    }

    public DiagnosisEvent setTime(long time) {
        this.time = time;
        return this;
    }

    public String getDiagnosisCode() {
        return diagnosisCode;
    }

    public DiagnosisEvent setDiagnosisCode(String diagnosisCode) {
        this.diagnosisCode = diagnosisCode;
        return this;
    }
}
